package com.feditory.shop.domain;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import com.feditory.common.domain.ShopType;

@Entity
@DiscriminatorValue("RETAIL")
public class RetailShop extends AbstractShop {
    
    /** 소속샵아이디 */
    @Column(name = "JOIN_WHOLESALE_SHOP_ID", length = 10)
    private String joinWholesaleShopId;
    
//    public RetailShop() {
//        setShopType(ShopType.RETAIL);
//    }

    public String getJoinWholesaleShopId() {
        return joinWholesaleShopId;
    }

    public void setJoinWholesaleShopId(String joinWholesaleShopId) {
        this.joinWholesaleShopId = joinWholesaleShopId;
    }

    @Override
    ShopType getShopType() {
        return ShopType.RETAIL;
    }

}
